S.Edge.Relation = function (option) {
    let me = this;
    Q.doSuperConstructor(me, S.Edge.Relation, [option.from, option.to, option.name]);
    me.setOption(me.option);
    me.setOption(option);
};

S.Edge.Relation.prototype = {
    xtype: 'relation',

    option: {
        edgeType: Q.Consts.EDGE_TYPE_ORTHOGONAL,
        style: {
            'arrow.from': Q.Consts.SHAPE_CIRCLE,
            'arrow.to': true,
            arrow: {
                from: {
                    size: 5,
                    line: {
                        cap: Q.Consts.LINE_CAP_TYPE_BUTT
                    }
                },
                to: {
                    size: 8
                }
            },
            edge: {
                conrner: Q.Consts.EDGE_CORNER_ROUND
            }
        }
    },

    setOption: function (option) {
        let me = this;
        S.setOption(me, option);
    }

}

Q.extend(S.Edge.Relation, Q.Edge);